package com.gitee.aurora.engine.dao;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.gitee.aurora.core.utils.ResultVO;
import com.gitee.aurora.engine.po.LogResult;
import com.gitee.aurora.engine.po.RulesLogResult;
import com.gitee.aurora.engine.vo.DataCheckVo;

import java.util.List;
import java.util.Map;

/**
 * author: jiangfuxiao
 * Date:2022/9/2 11:46
 */
public interface SjzxCheckDao {

    List queryTableDataByIds(DataCheckVo vo);

    RulesLogResult queryTableRuleByTableId(RulesLogResult result );

    ResultVO insertData(DataCheckVo vo) ;

    String querySqlStr(String ip,String tableName);

    List queryTableDataByCode(String tableName);

    void saveRulesLogResult(List<RulesLogResult> insertData);

    void saveLogResult(List<LogResult> insertData);

    Map<String, Object>  getRule(String tableName,String deptCode);

    List queryTable();

    List<Map<String, Object>> queryAllBaqIp(String sjzxIp);

    ResultVO getDBTableField(String tableName);
}
